<html>
<head>
<title>info detail</title>
<LINK href="../css/style.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>

<body>
  <div style="padding-top:5px">
  <table width="96%" height="95%" border=0 align="center" cellpadding=5 cellspacing=0>
      <tr>
        <td align="left" valign="top">
  	   
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#333333" bgcolor="#CCCCCC">
                    <tr height=20  bgcolor="#E4E4E4" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                        <td width="10%" height="25" align="right">&nbsp;<b>Name</b> : &nbsp;</td>
                        <td width="80%" align="left">{$arrInfo.name}</td>
                        <td width="10%" align="right">&nbsp;<A href="{$backurl}" target="_self">Back</A>&nbsp;&nbsp;</td>
                    </tr>
                    
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>Price</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">${$arrInfo.price/100}</font></td>
                    </tr>
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>Tax</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.taxRate}</font></td>
                    </tr>
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>Weight</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.weight/100}</font></td>
                    </tr>
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>Model</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.model}</font></td>
                    </tr>
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>UPC</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.UPC}</font></td>
                    </tr>
                    
                    {foreach item=data key=key from=$attributes}
					    <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
					      <td height="30" align="right"><b>{$key}</b> : &nbsp;</td>
					      	<td colspan="3">
					      		<table width="100%" cellspacing="0" cellpadding="2">
					      			{foreach item=attribute from=$data.attri}
			            				<tr><td>{$attribute}</td></tr>
			            			{/foreach}
							    </table>
							</td>
					    </tr>
    
    				{/foreach}
 
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>Manufacturer</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.manufacturer}</font></td>
                    </tr>
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;<b>URL</b> : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.url}</font></td>
                    </tr>
                    {foreach item=data key=attributeID from=$arrAllImage}
				         <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
					      <td height="23" align="right"><b>{$data.attributeName} Image</b>:</td>
					      <td height="23" colspan="2">&nbsp;
					      
						      <table width="100%" cellspacing="0" cellpadding="2">
						      	{foreach item=image key=key from=$data.imageIDs}
								    <tr> 
								      <td width="15%" align="left">&nbsp;
								      	<img src="../pic/thumbnail.php?width=100&height=100&fileName={$image.imageID}.{$image.imageExt}" border="0">
								      </td>
								      
								    </tr>
							    {/foreach}
							    	
							  </table>
					          </td>
					    </tr>
				 	{/foreach}
 				    
                    <tr height=20 bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
                      <td height="25" align="right">&nbsp;Description : &nbsp;</td>
                      <td height="25" colspan="2" align="left"><font style="line-height:20px">{$arrInfo.description}</font></td>
                    </tr>
            </table>	   
	   
	    </td>
      </tr>
</table></div>
</body>
</html>

